package cn.iocoder.yudao.module.reservation.controller.admin.services.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 店铺服务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ServicesRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "10127")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "服务名称", example = "赵六")
    @ExcelProperty("服务名称")
    private String name;

    @Schema(description = "服务分类")
    @ExcelProperty(value = "服务分类", converter = DictConvert.class)
    @DictFormat("mrs_service_category") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer category;

    @Schema(description = "服务说明")
    @ExcelProperty("服务说明")
    private String description;

    @Schema(description = "服务价格", example = "10662")
    @ExcelProperty("服务价格")
    private BigDecimal price;

    @Schema(description = "服务周期")
    @ExcelProperty(value = "服务周期", converter = DictConvert.class)
    @DictFormat("mrs_service_cycle") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer cycle;

    @Schema(description = "服务状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "服务状态", converter = DictConvert.class)
    @DictFormat("mrs_service_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer status;

}